package com.nmsl.system.presc_temp.service.impl;

import com.nmsl.system.presc_temp.domain.ExaminationInfo;
import com.nmsl.system.presc_temp.mapper.ExaminationInfoMapper;
import com.nmsl.system.presc_temp.service.IExaminationInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ExaminationInfoServiceImpl implements IExaminationInfoService {

    @Autowired
    private ExaminationInfoMapper examinationInfoMapper;
    @Override
    public int addExaminationInfo(ExaminationInfo examinationInfo) {
        return examinationInfoMapper.addExaminationInfo(examinationInfo);
    }

    @Override
    public int deleteExaminationInfo(Long id) {
        return examinationInfoMapper.deleteExaminationInfo(id);
    }

}
